package net.zjitc.mapper;

import net.zjitc.pojo.Product;

import java.util.List;

public interface ProductMapper {
    Product findById(int id);
    List<Product> findAll();
    int addProduct(Product product);
    int updateProduct(Product product);
    int deleteById(int id);
}
